﻿using Basic.FlowRemoteModel.NodeFormData.Model;
using WeDonekRpc.Helper.Validate;

namespace Basic.FlowGatewayModule.Model
{
    public class SetDataRelation
    {
        [NumValidate("flow.id.error", 1)]
        public long FlowId
        {
            get;
            set;
        }
        [NumValidate("flow.node.id.error", 1)]
        public long NodeId
        {
            get;
            set;
        }
        public DataRelation[] Relations
        {
            get;
            set;
        }
    }
}
